List & Label .NET
combit.Reporting Namespace / LRUCache<TKey,TValue> Class / TryRemove Method


In This Topic
    TryRemove Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Function TryRemove( _
       ByVal key As TKey, _
       ByRef value As TValue _
    ) As Boolean
    public bool TryRemove( 
       TKey key,
       out TValue value
    )
    public:
    bool TryRemove( 
       TKey^ key,
       [Out] TValue^ value
    ) 

    Parameters

    key
    value
    Requirements

    Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
    .NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10

    See Also